package com.kelan.android.app.controller;

import java.util.ArrayList;
import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.kelan.android.app.entity.EntEntity;

@RestController
public class EntController {

	@RequestMapping("enttypejson")
	public List<EntEntity> getAreaList(){
		List<EntEntity> list = new ArrayList<>();
		EntEntity areEntity = new EntEntity();
		areEntity.setEntCode("0104");
		areEntity.setEntName("食品销售");
		list.add(areEntity);
		return list;
	}
}
